For instructions,
go to:
http://projectpokemon.org/forums/showthread.php?44652-Pokemon-Bank-Celebi-and-other-Pokemon-Link-Injection!-%28using-pkhex%29

Always back up your save!

edit:
there's a new program that will do the injections for you, check it out!